const CALLBACK = '-FINISH'
const SOURCES_LIST = '/sources'
const ADD_SOURCES = '/sources'
const REMOVE_SOURCES = 'REMOVE_SOURCES'
const GET_SOURCE = '/sources/findOne'
const NOVEL_LIST = '/novels'
const ADD_NOVEL = '/novels'
const REMOVE_NOVEL = 'REMOVE_NOVEL'
const GET_NOVEL = '/novels/:id'
const DOWNLOAD_NOVEL = '/novels/download'
const UPDATE_NOVEL = '/novels/update'
const GET_NOVEL_CHAPTER = '/novels/chapter'
const CACHE_CHAPTER_LIST = 'CACHE_CHAPTER_LIST'
const CHANG_NOVEL_SOURCE = 'CHANG_NOVEL_SOURCE'
const UPDATE_SOURCE = SOURCES_LIST
const GEN_MOBI = 'GEN_MOBI'
const GEN_EPUB = 'GEN_EPUB'
const SEARCH_NOVEL = '/novels/search'
const STOP_SEARCH_NOVEL = 'STOP_SEARCH_NOVEL'
const BATCH_ADD_SOURCES = '/sources/batch'
const EDIT_NOVEL = '/novels'

module.exports = {
  GET_SOURCE,
  SOURCES_LIST,
  ADD_SOURCES,
  BATCH_ADD_SOURCES,
  ADD_NOVEL,
  NOVEL_LIST,
  GET_NOVEL,
  DOWNLOAD_NOVEL,
  UPDATE_NOVEL,
  GET_NOVEL_CHAPTER,
  SEARCH_NOVEL,
  UPDATE_SOURCE,
  EDIT_NOVEL
}
